package com.tuyue.police.dao;

import com.tuyue.police.pojo.Rule1;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author: 王金海
 * @Description:
 * @Date: Created by Administrator on 2018/3/13.
 * @Modified By:
 */
public interface IRule1Dao extends JpaRepository<Rule1,Long> {

    List<Rule1> findAllByRule1RuleId(Long ruleId);

    List<Rule1> findAllByRule1SectorId(Long sectorId);

}
